how to multiply algebraic fractions